package com.py.credit.ai.res;

public class LicenseResult {

	private String firmName;

	private String firmType;

	private String legalPerson;

	private String address;

	private String limitDate;

	private String licenseNumber;

	private String uscCode;

	public LicenseResult(String firmName, String firmType, String legalPerson, String address, String limitDate,
			String licenseNumber, String uscCode) {
		super();
		this.firmName = firmName;
		this.firmType = firmType;
		this.legalPerson = legalPerson;
		this.address = address;
		this.limitDate = limitDate;
		this.licenseNumber = licenseNumber;
		this.uscCode = uscCode;

	}

	public static Builder builder() {
		return new Builder();
	}

	public static class Builder {

		private String firmName;

		private String firmType;

		private String legalPerson;

		private String address;

		private String limitDate;

		private String licenseNumber;

		private String uscCode;

		public Builder firmName(String firmName) {
			this.firmName = firmName;
			return this;
		}

		public Builder firmType(String firmType) {
			this.firmType = firmType;
			return this;
		}

		public Builder legalPerson(String legalPerson) {
			this.legalPerson = legalPerson;
			return this;
		}

		public Builder address(String address) {
			this.address = address;
			return this;
		}

		public Builder limitDate(String limitDate) {
			this.limitDate = limitDate;
			return this;
		}

		public Builder licenseNumber(String licenseNumber) {
			this.licenseNumber = licenseNumber;
			return this;
		}

		public Builder uscCode(String uscCode) {
			this.uscCode = uscCode;
			return this;
		}

		public LicenseResult build() {
			return new LicenseResult(firmName, firmType, legalPerson, address, limitDate, licenseNumber, uscCode);
		}

	}

	public String getFirmName() {
		return firmName;
	}

	public String getFirmType() {
		return firmType;
	}

	public String getLegalPerson() {
		return legalPerson;
	}

	public String getAddress() {
		return address;
	}

	public String getLimitDate() {
		return limitDate;
	}

	public String getLicenseNumber() {
		return licenseNumber;
	}

	public String getUscCode() {
		return uscCode;
	}

}
